home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
msdos
/
raytrace
/
pov
/
gen
/
plant05
/
desert.pi
next >
Wrap
Text File
|
1993-10-07
|
2KB
|
78 lines
// Generic Polyray input file by Rob Bryerton
// Sand and a nice bright sky with a light cloud cover
include "..\colors.inc"
include "..\texture.inc"
viewpoint {
from <10,14,-23>
at <0,8,0>
angle 45
aspect 4/3
resolution 320, 240
}
light <60, 100, -110>
background SkyBlue
include "plant.inc"
plant
define lookup_sawtooth 1
define ripple_normal 2
define ground_ripple
texture {
noise surface {
color <1, 0.66, 0.2>
normal ripple_normal
frequency 100
bump_scale 0.25 // was 2
ambient 0.3
diffuse 0.7
}
}
define cloud_map
color_map(
[0.0, 0.4, <1,1,1> ,1.0 , <1,1,1> ,1.0 ]
[0.4, 0.9, <1,1,1> ,1.0 , <1, 1, 1> ,0.0]
[0.9, 1.0, <1,1,1>,<1,1,1>])
define cloud_tex
texture{
layered
texture{
special surface {
color cloud_map[bozo_fn]
ambient 0.75
diffuse 0.0
}
}, // note the comma that separates the layered texture
texture { // definitions... this is a clear surface (air)
surface {
ambient 0
diffuse 0
specular 0.0
transmission white, 1, 1.000292 // ior for AIR
}
}
}
// Add the sky to the picture ... these are the actual clouds
object {
sphere <0, -1, 0>, 1000
scale <7.5, 1, 7.5>
cloud_tex { scale <100, 33, 33> rotate < 0, 0, -45 >
}
}
// Define the desert sand
object {
disc <0, -0.25, 0>, <0, 1, 0>, 1000
ground_ripple { scale <100, 300, 100> }
}